package com.fenqing.utils;

/**
 * @author fenqing
 */
public class StringToDoubleEncoder implements Encoder<String, Double> {

    public StringToDoubleEncoder() {
    }

    @Override
    public Double encoder(String input) {
        return Double.valueOf(input.trim());
    }
}